Fatal error: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"redken"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-11-19 00:00:00' AND ( ) and location LIKE '%"host":"redken"%' ORDER BY name ASC' in /var/www/b2b/system/library/db/mysqli.php on line 47
Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"redken"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-11-19 00:00:00' AND ( ) and location LIKE '%"host":"redken"%' ORDER BY name ASC in /var/www/b2b/system/library/db/mysqli.php on line 47
Call Stack:
0.0001 235592 1. {main}() /var/www/b2b/index.php:0
0.0114 353128 2. start() /var/www/b2b/index.php:45
0.0114 354712 3. require_once('/var/www/b2b/system/framework.php') /var/www/b2b/system/startup.php:130
0.0216 539768 4. Front->dispatch() /var/www/b2b/system/framework.php:116
0.0298 967792 5. Front->execute() /var/www/b2b/system/engine/front.php:28
0.0298 967792 6. Action->execute() /var/www/b2b/system/engine/front.php:33
0.0299 972608 7. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51
0.0299 973040 8. ControllerStartupRouter->index() /var/www/b2b/system/engine/action.php:51
0.0301 974040 9. Action->execute() /var/www/b2b/catalog/controller/startup/router.php:36
0.0304 979664 10. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51
0.0304 981200 11. ControllerStoreEducation->index() /var/www/b2b/system/engine/action.php:51
0.0320 1104864 12. Proxy->getEvents() /var/www/b2b/catalog/controller/store/education.php:34
0.0320 1105216 13. Proxy->__call() /var/www/b2b/catalog/controller/store/education.php:34
0.0320 1106360 14. call_user_func_array:{/var/www/b2b/system/engine/proxy.php:25}() /var/www/b2b/system/engine/proxy.php:25
0.0320 1107560 15. Loader->{closure:/var/www/b2b/system/engine/loader.php:149-193}() /var/www/b2b/system/engine/proxy.php:25
0.0321 1109136 16. call_user_func_array:{/var/www/b2b/system/engine/loader.php:180}() /var/www/b2b/system/engine/loader.php:180
0.0321 1109608 17. ModelEducationEvents->getEvents() /var/www/b2b/system/engine/loader.php:180
0.0328 1113168 18. DB->query() /var/www/b2b/catalog/model/education/events.php:652
0.0328 1113304 19. DB\MySQLi->query() /var/www/b2b/system/library/db.php:16